package com.lpit;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ComponentScan;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @author Administrator
 */
@SpringBootApplication
/*@MapperScan(basePackages = "com.lpit.mapper")*/
@ComponentScan(basePackages = "com.lpit.*")
@MapperScan(basePackages = "com.lpit.mapper")
@ServletComponentScan(basePackages = "com.lpit.filter")
public class BloggerAdminComponentApplication {
    public static void main(String[] args) {
        SpringApplication.run(BloggerAdminComponentApplication.class, args);
    }
}
